@extends('layouts.layout')

@section('title', '创建用户')

@section('content')
    <div class="row">
        <div class="col-md-5">
            <h3>新建角色</h3>
        </div>
        <div class="col-md-7 page-action text-right">
            <a href="{{ route('roles.index') }}" class="btn btn-default btn-sm"> <i class="fa fa-arrow-left"></i> 返回</a>
        </div>
    </div>

    <style>
        .table td, .table th{ vertical-align:baseline; }
    </style>
    <div class="row clearfix">
        <div class="col-lg-12 col-md-12 col-sm-12">
            <div class="card">
                <div class="body table-responsive">
                    <div class="wrapper wrapper-content animated fadeInRight" style="margin-top: 10px;">
                        <div class="row">
                            <div class="col-lg-12">
                                {!! Form::open(['route' => ['roles.store'] ]) !!}
                                @include('role._form')
                                <!-- Submit Form Button -->
                                {!! Form::submit('新建角色', ['class' => 'btn btn-primary']) !!}
                                {!! Form::close() !!}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
